package com.gitee.dupe.authority.dto;

import com.gitee.dupe.authority.enumeration.UserStateEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author LYH
 */
@Data
@ApiModel(value = "User修改状态对象")
public class UserChangeStateDTO implements Serializable {

    @ApiModelProperty(value = "状态", required = true)
    @NotBlank
    private UserStateEnum state;

}
